Solving A Maths Problem